//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================
#ifndef __IPM_DRVCOMMON_H__
#define __IPM_DRVCOMMON_H__

#include <windows.h>

//
// Signalling Events to Monitor
//
#define		NEVER_SLEEP_STR						TEXT("Never Sleep")
#define		DISPLAY_INACTIVITY_TO_STR			TEXT("Display Inactivity Timed Out")
#define		KEEP_ALIVE_STR						TEXT("Keep Alive")
#define		READ_REGISTRY_STR					TEXT("Update Standby Settings")
#define	    IDLE_PROFILER_STR				    TEXT("Idle Profiler")
#define	    IDLE_PROFILER_STDBY_IFACE_STR	    TEXT("Idle Profiler to Standby Interface")
#define		PWR_BUTTON_SLEEP_STR				TEXT("Power Button Initiated Sleep")

//
// Reasons for not going to sleep
//
#define		IN_A_CALL							1
#define		USB_CABLE_ATTACHED					2
#define     RIL_SIGNAL_QUALITY_UPDATE           0x4

//
// Constant values for [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Standby] ProfileType
//
#define     STANDBY_DISABLED                    0x04
#define     STANDBY_SLEEP_ONLY                  0x08
#define     STANDBY_33M_ONLY                    0x10
#define     STANDBY_SLEEP_AND_33M               0x18 

//
//  States
//
#define		BOOT_UP								1
#define		NEVER_SLEEP							2
#define		ACTIVE								3
#define		STANDBY								4
#define		PWRBUTTON_INITIATED_SLEEP			5

//
// Wake Up Reasons
//
#define		RTC_WAKEUP							0x1u
#define		KEYPAD_WAKEUP						0x2u

#endif